From: Florian Müllner Date: Tue, 29 Aug 2023 17:09:21 +0000 (+0200) Subject: status/network: Don't show OWE networks as secure X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~320^2^2~30 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3a393738ea07c47f5571b4cfc317351306a6212a;p=gnome-shell.git status/network: Don't show OWE networks as secure The OWE protocol is used by public networks to provide some form of encryption, but without authentication. That makes them more secure than unencrypted public networks, but still significantly less secure than "proper" encryption types like WPA. The are not shown as secure by Settings' network panel, so we shouldn't do so either. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6918 Part-of: --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 324ad4f55..322d7d91a 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -811,7 +811,10 @@ const WirelessNetwork = GObject.registerClass({ } get secure() { - return this._securityType !== NM.UtilsSecurityType.NONE; + return this._securityType !== NM.UtilsSecurityType.NONE && + this._securityType !== NM.UtilsSecurityType.UNKOWN && + this._securityType !== NM.UtilsSecurityType.OWE && + this._securityType !== NM.UtilsSecurityType.OWE_TM; } get is_active() {